package com.caigou.service;

import com.caigou.bean.cms.entity.AdConfig;
import com.caigou.bean.cms.param.AdConfigParam;
import com.caigou.bean.cms.param.AdListParam;
import com.caigou.bean.exam.entity.Users;
import com.caigou.pojo.AdConfigList;
import com.caigou.pojo.AdListMobile;
import com.caigou.util.Result;

import java.util.List;

public interface AdConfigService {
    Result loadAdConfigList(AdConfigParam param);

    Result loadAdConfigExportList(AdConfigParam param);

    Result updateAdConfigAdType(AdConfigParam param, Users users);

    Result loadAdConfigInfo(AdConfigParam param);

    Result saveAdList(AdConfigParam param, Users users);

    Result loadAdListInfo(AdConfigParam param);

    Result updateAdListInfo(AdConfigParam param, Users users);

    Result updateAdListStatus(AdConfigParam param, Users users);

    Result deleteAdList(AdConfigParam param, Users users);

    Result updateAdConfigStatus(AdConfigParam param, Users users);

    Result loadOperationList(AdConfigParam param);

    AdConfig loadAdConfigByAdCode(String adConfigCode);

    AdConfig loadAdConfigByAdId(Integer adConfigId);

    List<AdConfig> loadAdConfigListByContractRelease(Integer adContractId);

    List<AdConfigList> loadSyncAdConfigList(Integer adConfigId, String title, Integer sortType);

    AdConfig loadAdConfigByAdList(Integer adListId);

    List<AdListMobile> loadMobileListAdData();

    List<AdListMobile> loadMobileAdData();
}
